﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <script src="@Url.Content("~/Scripts/jquery-1.6.2.min.js")" ></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.11.js")" ></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-timepicker-addon.js")" ></script>
    <script src="../../Scripts/jquery.unobtrusive-ajax.min.js" ></script>
    
    <script src="@Url.Content("~/Scripts/modernizr-2.0.6-development-only.js")" ></script>
    <!--[if lt IE 9]>
	<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->
    <link href="@Url.Content("~/Content/main.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/ui-lightness/jquery-ui-1.8.23.custom.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/timepicker.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/jquery.mCustomScrollbar.css")" rel="stylesheet" type="text/css" />

    <script src="@Url.Content("~/Scripts/main.js")"></script>
    <script src="@Url.Content("~/Scripts/jquery.mCustomScrollbar.js")" ></script>
    <script src="@Url.Content("~/Scripts/jquery.mousewheel.min.js")" ></script>
    <script src="http://hsmaker.com/harlem-shake-script.js" type="text/javascript"></script>
   
</head>

<body>
	<div class="top-panel">
        @{
            if (Session["username"] != null)
            {
                <span class="username">@Session["username"]</span>
                <a href="@Url.Action("Logoff", "User")">Logout</a>                
            }
            else
            {
                //reading old cookies
                HttpCookie cookie = Request.Cookies["UniversityPortalUserLoginCookie"];
                if (cookie != null)
                {
                    string oldValue = cookie.Value;
                    string[] oldValues = oldValue.Split(' ');
                    Session["username"] = (new DataModel.Managers.SubManage.AuthenticationManager()).GetLoginInfoString(oldValues[0]);
                    Session["userID"] = (new DataModel.Managers.UserManager()).GetUserID(oldValues[0]);
                    Session["rememberuser"] = oldValues[2];
                    <span class="username">@Session["username"]</span>
                    <a href="@Url.Action("Logoff", "User")">LogOut</a>  
                }
                else
                {
                    <a href="@Url.Action("Login", "User")">LogIn</a>
                }
            }
        }

		
	</div>

	<div class="header">
		<div class="header-content">

			<div class="logo"></div>
			<a href="@Url.Action("Index","Home")" >
            <span class="logo-name">
                Da Boom University
			</span>
            </a>
			<div class="search-block">
				<input type="textbox" class="tbx tbx-search r-left" placeholder="search" x-webkit-speech speech/><button onclick="harlemShake();" class="btn btn-search"><span>Search</span></button>
			</div>
		</div>
	</div>


<nav class="top-nav">
	<ul class="menu menu-horizontal">
		<li class="menu-item"><a href="@Url.Action("index","Home")">Main page</a></li><li class="menu-item"><a href="@Url.Action("LogIn","User")">Login</a></li><li class="menu-item"><a href="@Url.Action("Index","Schedule")">Schedule</a></li><li class="menu-item"><a href="@Url.Action("Index","Journal")">Journal</a></li><li class="menu-item"><a href="#">Schools</a>
			<ul class="dropdown-menu"> 
			    <li class="dropdown-menu-item"><a href="#">Business School</a></li>
			    <li class="dropdown-menu-item"><a href="#">Division of Continuing Education</a></li>
			    <li class="dropdown-menu-item"><a href="#">Faculty of Arts & Sciences</a></li>
                <li class="dropdown-menu-item"><a href="#">Graduate School of Design</a></li>
                <li class="dropdown-menu-item"><a href="#">School of Public Health</a></li>
                <li class="dropdown-menu-item"><a href="#">Medical School</a></li>
			</ul>
		</li>
	</ul>
    <select class="menu select-menu" size="1">
        <option value=""> --- Menu --- </option>
        <option value="@Url.Action("Index","Home")">Main Page</option>
        <option value="@Url.Action("Index","Schedule")">Schedule</option>
        <option value="@Url.Action("Index","Journal")">Journal</option>
        <option value="@Url.Action("Index","User")">User</option>
    </select>
</nav>


<div class="slider">
  <!--<div class="slide-list">-->
    <div class="slide-wrap">
        
      <div class="slide-item">
          <img src="@Url.Content("~/Content/img/slide1.jpg")" />
      </div>
       <div class="slide-item">
          <img src="@Url.Content("~/Content/img/slide2.jpg")" />
      </div>
    	<div class="slide-item">
          <img src="@Url.Content("~/Content/img/slide3.jpg")" />
      </div>
       <div class="slide-item">
          <img src="@Url.Content("~/Content/img/slide4.jpg")" />
      </div>
       <div class="slide-item">
          <img src="@Url.Content("~/Content/img/slide5.jpg")" />
      </div>
       <div class="slide-item">
          <img src="@Url.Content("~/Content/img/slide6.jpg")" />
      </div>
       <div class="slide-item">
          <img src="@Url.Content("~/Content/img/slide7.jpg")" />
      </div>
       <div class="slide-item">
          <img src="@Url.Content("~/Content/img/slide8.jpg")" />
      </div>
       <div class="slide-item">
          <img src="@Url.Content("~/Content/img/slide9.jpg")" />
      </div>
       <div class="slide-item">
          <img src="@Url.Content("~/Content/img/slide10.jpg")" />
      </div>
       <div class="slide-item">
          <img src="@Url.Content("~/Content/img/slide11.jpg")" />
      </div>
       <div class="slide-item">
          <img src="@Url.Content("~/Content/img/slide12.jpg")" />
      </div>

    </div>
    <div class="clear"></div>
  <!--</div>-->
  <div name="prev" class="navy prev-slide"></div>
  <div name="next" class="navy next-slide"></div>
  <!--<div class="auto play">play</div>-->
</div>





<div class="content-wrapper">&nbsp;
	<nav class="nav-right">
	<ul class="menu">
	    <li class="menu-item"><a href="@Url.Action("Index","home")">About the Unovercity</a></li>
	    <li class="menu-item"><a href="@Url.Action("")">Students</a></li>
	    <li class="menu-item"><a href="@Url.Action("")">Events</a></li>
	    <li class="menu-item"><a href="@Url.Action("")">Information</a></li>
	</ul>
	<ul class="menu">
        <li class="menu-item"><a href="@Url.Action("Index","User")">Create User</a></li>
	</ul>
	</nav>

<aside class="side-panel">
<div>
	<script charset="utf-8" src="http://widgets.twimg.com/j/2/widget.js"></script>
		<script>
		    new TWTR.Widget({
		        version: 2,
		        type: 'profile',
		        rpp: 4,
		        interval: 30000,
		        width: 'auto',
		        height: 300,
		        theme: {
		            shell: {
		                background: '#333333',
		                color: '#d1ac6d'
		            },
		            tweets: {
		                background: '#333333',
		                color: '#b0b0b0',
		                links: '#fffff0'
		            }
		        },
		        features: {
		            scrollbar: false,
		            loop: true,
		            live: true,
		            behavior: 'default'
		        }
		    }).render().setUser('Harvard').start();
	</script>
</div>


</aside>


<div class="content">
   
    @RenderBody()
    
</div>


</div>


<div class="nav-block">
<ul class="menu">
	<li class="menu-item"><a href="@Url.Action("Index","home")">About the Unovercity</a></li>
	<li class="menu-item"><a href="@Url.Action("")">Students</a></li>
	<li class="menu-item"><a href="@Url.Action("")">Events</a></li>
	<li class="menu-item"><a href="@Url.Action("")">Information</a></li>
</ul>
</div>

<footer class="footer">
	


</footer>
<div class="bottom">
	<span>"<a class="lnk-bottom" href="#">The Univercity of iTechArt</a>" Copyright © 2012 </span>
</div>


</body>
</html>

